package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfQrcodeDao;
import com.wfcm.entity.WfQrcodeEntity;
import com.wfcm.service.WfQrcodeService;



@Service("wfQrcodeService")
public class WfQrcodeServiceImpl implements WfQrcodeService {
	@Autowired
	private WfQrcodeDao wfQrcodeDao;
	
	@Override
	public WfQrcodeEntity queryObject(Integer id){
		return wfQrcodeDao.queryObject(id);
	}

	@Override
	public WfQrcodeEntity queryContent(String scene) {
		return wfQrcodeDao.queryContent(scene);
	}

	@Override
	public List<WfQrcodeEntity> queryList(Map<String, Object> map){
		return wfQrcodeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfQrcodeDao.queryTotal(map);
	}
	
	@Override
	public void save(WfQrcodeEntity wfQrcode){
		wfQrcodeDao.save(wfQrcode);
	}
	
	@Override
	public void update(WfQrcodeEntity wfQrcode){
		wfQrcodeDao.update(wfQrcode);
	}
	
	@Override
	public void delete(Integer id){
		wfQrcodeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfQrcodeDao.deleteBatch(ids);
	}
	
}
